package com.bootdo.coach.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.bootdo.coach.domain.TabSeparateAccount;
import com.bootdo.coach.vo.TabSeparateAccountVo;


public interface TabSeparateAccountService {
	
    int deleteByPrimaryKey(Long id);

    int insert(TabSeparateAccount record);

    int insertSelective(TabSeparateAccount record);

    TabSeparateAccount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TabSeparateAccount record);

    int updateByPrimaryKey(TabSeparateAccount record);

	BigDecimal findCoachMoney(Map<String, Object> paramMap);

	int findCoachMoneyCnt(Long coach_id);

	List<Map<String, Object>> getCoachIncomeList(Map<String, Object> paramMap);

	List<TabSeparateAccountVo> list(Map<String, Object> query);

	int count(Map<String, Object> query);

	BigDecimal getAgentTotalMoney(Map<String, Object> params);
}
